package com.cloudfun.campusshare.common.model.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @author : ashsr.zhang
 * @date : 2020/3/18 15:01
 * @Version : v1.0
 * @description 项目VO
 **/
@Data
@ApiModel(value = "学校信息")
public class SchoolAddVO {

    @ApiModelProperty(value = "学校id")
    private String id;

    @ApiModelProperty(value = "学校名称")
    private String name;

    @ApiModelProperty(value = "学校省份")
    private String province;

    @ApiModelProperty(value = "所在城市")
    @NotBlank(message = "所在城市不能为空")
    private String city;

    @ApiModelProperty(value = "办学层次")
    @NotBlank(message = "办学层次")
    private String educateLevel;

    @ApiModelProperty(value = "办学属性")
    @NotBlank(message = "办学属性")
    private String runningAttribute;

    @ApiModelProperty(value = "院校类型")
    @NotBlank(message = "院校类型")
    private String type;

    @ApiModelProperty(value = "学校排名")
    private Integer rank;

    @ApiModelProperty(value = "全日制在校学生人数")
    private Integer studentNumber;

    @ApiModelProperty(value = "男生所占比例")
    private Integer maleRatio;

    @ApiModelProperty(value = "综合评分")
    private Float compositeScore;
}
